SET OBJECT RADIUS

This command will set the collision radius of the specified object.

  Syntax
SET OBJECT RADIUS Object Number, Radius
  Parameters
Object Number
Integer
The object number
Radius
Float
The size of the colision radius to use

  Returns

This command does not return a value.

  Description

You can use this command to remove the outer most parts of your object from the collision system where collision at such extents are undesirable.

  Example Code
sync on : sync rate 60 : hide mouse:cls 0:color backdrop 0
fog on:fog color 0:set ambient light 50
ObjectNumber=2:ImageNumber=2
wire=0:trans=0:cull=0:fliter=0:light=0:fog=0:ambient=0
set global object creation 0
rem Load asteroid model
set dir "models"
load object "ast4.x",ObjectNumber
  See also

BASIC3D Commands Menu
Index